package com.woniu.humanresource.dao;


import com.woniu.humanresource.entity.Blacklist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlacklistDao {
    //    添加人员至黑名单
    void insertBlacklist(Blacklist blacklist);
    //    条件查询黑名单信息
    List<Blacklist> selectCondition(
            @Param("blacklist")Blacklist blacklist,
            @Param("pageIndex")int pageIndex
            ,@Param("pageSize")int pageSize);
    //    查询黑名单人员数量
    int selectConditionCount(@Param("blacklist")Blacklist blacklist);
    //    删除黑名单人员
    void deleteBlacklist(int id);
}
